Skip to main content

OptionValue

OptionValue[name] gives the value of name in options matched by OptionsPattern. 

OptionValue[f,name] gives the value of name for options associated with the head f.

OptionValue[f,opts,name] extracts option values from the explicit list of rules opts.

OptionValue[…,{name1,name2,…}] extracts several option values.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.